<template>
  <div class="chart-container">
    <div class="chart-row">
      <div class="chart-item">
        <bar-chart />
      </div>
      <div class="chart-item">
        <pie-chart />
      </div>
    </div>
    <div class="chart-item full-width">
      <line-chart />
    </div>
  </div>
</template>

<script>
// import PanelGroup from './dashboard/PanelGroup'
// import LineChart from './dashboard/LineChart'
// import RaddarChart from './dashboard/RaddarChart'
// import PieChart from './dashboard/PieChart'
// import BarChart from './dashboard/BarChart'
import barChart from "@/views/returns/returns/barChart.vue";
import pieChart from "@/views/returns/returns/pieChart.vue"
import LineChart from "@/views/returns/returns/lineChart.vue";


export default {
  name: 'Index',
  components: {
    LineChart,
    pieChart,
    barChart
  }
}
</script>
<style scoped>.chart-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

.chart-row {
  display: flex;
  flex: 1;
  justify-content: space-between;
}

.chart-item {
  flex: 1;
  min-width: 300px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.full-width {
  flex: 1;
  width: 100%;
}

@media (max-width: 768px) {
  .chart-item {
    max-width: 100%;
  }
}
</style>


